package com.sxbang.friday.dao;


import com.sxbang.friday.model.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author :ali
 * @date :2020/1/27 16:19
 * @description：${description}
 * @modified By:
 * @version: 1.0.0
 */
@Mapper
public interface SysRoleMapper {
    /**
     * 查询出所有role
     * @return
     */
    @Select("select * from sys_role")
    List<SysRole> getAllRoles();
}